package com.itheima.edu.info.manager.dao;

import com.itheima.edu.info.manager.domain.Fruit;

public interface BaseFruitDao1 extends BaseFruitDao{

    @Override
    Fruit[] findAllFruit();

    // 添加水果方法
    public abstract boolean addFruit(Fruit f);

    //删除
    public abstract void deleteFruit(String deleteId);

    public abstract int getIndex(String deleteId);

    //修改
    public abstract void updateFruit(String updateId, Fruit newFruit);
}
